package com.tyk.bookstore.back.logistics.model.vo;

import com.tyk.bookstore.back.common.core.model.page.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 快递公司
 */
@Data
@Schema(name = "ExpressCompanyPageVo", description = "快递公司")
public class ExpressCompanyPageVo extends PageVo<ExpressCompanyPageVo.ExpressCompany> {

    @Data
    @Schema(name = "Express_company", description = "快递公司")
    public static class ExpressCompany implements Serializable {

        @Serial
        private static final long serialVersionUID = 1L;

        @Schema(description = "ID")
        private Long id;

        @Schema(description = "简称")
        private String briefName;

        @Schema(description = "公司名称")
        private String fullName;

        @Schema(description = "收费[单位：元/千克]")
        private BigDecimal charge;

        @Schema(description = "描述")
        private String description;

        @Schema(description = "创建时间")
        private LocalDateTime createTime;

        @Schema(description = "更新时间")
        private LocalDateTime updateTime;

    }
}
